﻿<UserControl x:Class="BizControl.Presentation.ActivityEditCompositeModule.Views.ActivityEditCompositeView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:prism="http://www.codeplex.com/CompositeWPF" 
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:csla="clr-namespace:Csla.Xaml;assembly=Csla.Xaml"
             xmlns:res="clr-namespace:BizControl.Presentation.Infrastructure.Properties;assembly=BizControl.Presentation.Infrastructure"
             xmlns:this="clr-namespace:BizControl.Presentation.ActivityEditCompositeModule">

    <Grid>
        <StackPanel>
            <ToolBar>
                <Button HorizontalAlignment="Left" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch"
                    Width="25" Height="25" ToolTip="Закрыть"
                    Command="{Binding Path=OkCommand}"
                    Template="{StaticResource CancelButtonTemplate}">
                </Button>
            </ToolBar>
            <TabControl Margin="2,2,8,8" Grid.Row="1"
                        prism:RegionManager.RegionName="{x:Static this:RegionNames.ActivityEditMainRegion}" 
                        HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"
                        ItemContainerStyle="{StaticResource CustomTabItemStyle}" />
            <!--<Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                    <ColumnDefinition />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <TextBlock HorizontalAlignment="Left" Margin="5">
                    <Hyperlink Command="{Binding Path=OkCommand}">
                        <TextBlock Text="{x:Static res:Captions.SaveButtonCaption}" />
                    </Hyperlink>
                </TextBlock>
                <TextBlock Grid.Column="1" HorizontalAlignment="Left" Margin="5">
                    <Hyperlink Command="{Binding Path=OkCommand}">
                        <TextBlock Text="{x:Static res:Captions.CancelButtonCaption}" />
                    </Hyperlink>
                </TextBlock>

                <TextBlock Grid.Column="2" HorizontalAlignment="Right" Margin="5">
                    <Hyperlink Command="{Binding Path=OkCommand}">
                        <TextBlock Text="{x:Static res:Captions.CloseButtonCaption}" />
                    </Hyperlink>
                </TextBlock>
            </Grid>-->
        </StackPanel>

    </Grid>
</UserControl>
